enzyme adapter react 17

130

enzyme npm install -

npm i --save-dev enzyme enzyme-adapter-react-16

enzyme-adapter-react-17 -

import Enzyme from 'enzyme';
import Adapter from '@wojtekmaj/enzyme-adapter-react-17';

Enzyme.configure({ adapter: new Adapter() });

Comments

Submit
0 Comments